﻿/****************************** Module Header ******************************\
 * Module Name:  IDebugHelper.cs
 * Module Version:  1.0.0 (2012-8-24)
 * Copyright (c) AnyEB.Com (14507247@qq.com)
 * 
 * This class is used to process the Debug.
 * 
 * This source is subject to the GPL License.
 * See http://www.gnu.org/licenses/gpl.html.
 * All other rights reserved.
 * 
 * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, 
 * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED 
 * WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
\***************************************************************************/
using System;
using System.Collections.Generic;
using System.Web.UI;
using System.Data;
using System.Data.Common;

namespace UCF.Core
{
    public interface IDebugHelper
    {
        void Log(string logfolder, string msg);
        void Show(string s, params object[] args);
        void Show(bool isBreakLine,bool isEnd,params object[] args);
        void ShowControls(IList<Control> controlCollection);
        void ShowDbParameters(DbParameter[] para, string splitor = "<br />");
        void ShowDictionary<K, V>(Dictionary<K, V> dict);
        void ShowSortedDictionary<K, V>(ref SortedDictionary<K, V> dict);
        void ShowSql(string sql, params DbParameter[] para);
        void ShowType<T>(T e);
        void ShowTable(DataTable dt);
    }
}
